<?php


(1)_____(2)(3->2)(5->2)___(3)___________(4)__________(5)____
$num=0 |  $i < 10       | $num++%2 != 0 | echo $num  | $i++ |
$i = 0 |                |               |            |      |
------------------------------------------------------------
$num=0    0<10 T         0++ % 2 != 0   |            |      |
$i = 0                   0   % 2 != 0   |            |      |
                         -------        |            |      |
                            0    != 0 FALSE ($num = 1)      |
------------------------------------------------------------
          0<10 T         1++ % 2 != 0   |            |      |
                          1   % 2 != 0  |            |      |
                         -------        |            |$i = 0
                            1    != 0 T |1($num = 2) |$i++ --> 1
------------------------------------------------------------
          1<10 T         2++ % 2 != 0   |            |      |
                         2   % 2 != 0   |            |      |
                         -------        |            |      |
                            0    != 0 FALSE ($num = 3)      |
------------------------------------------------------------
          1<10 T         3++ % 2 != 0   |            |      |
                          3   % 2 != 1  |            |      |
                         -------        |            |$i = 1
                            1    != 0 T |3($num = 4) |$i++ --> 2
------------------------------------------------------------
          2<10 T         4++ % 2 != 0   |            |      |
                         4   % 2 != 0   |            |      |
                         -------        |            |      |
                            0    != 0 FALSE ($num = 5)      |





  for ($num = 0, $i = 0; $i < 10 ; )
  {
    if($num++%2 != 0){
      echo $num, "\n";
      $i++;
    }
  }










